<template>
  <div>
    <div class="header"><img src="../assets/img/header.png" alt="" /></div>
    <div class="location">
      <span
        ><img src="../assets/img/3.1定位.png" alt="" />
        北京理工大学国防科技园2号楼10层</span
      >
      <span><img src="../assets/img/消息中心.png" alt="" /></span>
    </div>
    <input class="input" type="text" placeholder="请输入" />
    <img
      src="../assets/img/bj.jpeg"
      style="width: 96%; height: 100px; margin-top: 10px"
    />
    <div>
      <div class="content">
        <div class="item">
          <img src="../assets/img/超市.png" alt="" />
          <span>超市便利</span>
        </div>
        <div class="item">
          <img src="../assets/img/菜市场.png" alt="" /><span>菜市场</span>
        </div>
        <div class="item">
          <img src="../assets/img/水果店.png" alt="" /><span>水果店</span>
        </div>
        <div class="item">
          <img src="../assets/img/鲜花.png" alt="" /><span>鲜花绿植</span>
        </div>
        <div class="item">
          <img src="../assets/img/医药健康.png" alt="" /><span>医药健康</span>
        </div>
      </div>
      <div class="content">
        <div class="item">
          <img src="../assets/img/家居.png" alt="" /><span>家居时尚</span>
        </div>
        <div class="item">
          <img src="../assets/img/蛋糕.png" alt="" /><span>烘培蛋糕</span>
        </div>
        <div class="item">
          <img src="../assets/img/签到.png" alt="" /><span>签到</span>
        </div>
        <div class="item">
          <img src="../assets/img/大牌免运.png" alt="" /><span>大牌免运</span>
        </div>
        <div class="item">
          <img src="../assets/img/红包.png" alt="" /><span>红包套餐</span>
        </div>
      </div>
    </div>
    <div
      style="width: 100%; height: 15px; background: #f1f1f1; margin: 0"
    ></div>
    <div>
      <h3 style="display: flex; margin-left: ">附近商店</h3>
      <div style="display: flex">
        <div class="left-f">
          <img src="../assets/img/沃尔玛-01.png" alt="" />
        </div>
        <div>
          <span style="margin-left: -143px">沃尔玛</span>
          <div style="font-size: 14px; margin-left: 10px">
            <span style="margin-left: 2px">月售1万+</span>
            <span style="margin-left: 10px">起送￥0</span>
            <span style="margin-left: 10px">基础运费￥5</span>
          </div>
          <span style="font-size: 10px; margin-left: 20px; color: red"
            >VIP尊享满89元减4元运费券（每月3张）</span
          >
        </div>
      </div>
      <div style="display: flex; margin-top: 20px">
        <div class="left-t"></div>
        <span
          style="
            margin-left: -35px;
            margin-top: 10px;
            z-index: 99;
            font-size: 14px;
            color: white;
          "
          >Sams</span
        >
        <div>
          <span style="margin-left: -70px">山姆会员商店</span>
          <div style="font-size: 14px; margin-left: 10px">
            <span style="margin-left: 15px">月售2千</span>
            <span style="margin-left: 10px">起送￥0</span>
            <span style="margin-left: 10px">基础运费￥5</span>
          </div>
          <span style="font-size: 10px; margin-left: -50px; color: red"
            >联合利华洗护满10减5</span
          >
        </div>
      </div>
    </div>
    <div class="footer">
      <ul>
        <li id="homepage">
          <div>
            <img src="../assets/img/204首页.png" alt="" />
          </div>
          <div>首页</div>
        </li>
        <li id="shoppingcar">
          <div>
            <img src="../assets/img/购物车.png" alt="" />
          </div>
          <div>购物车</div>
        </li>
        <li id="indent">
          <div>
            <img src="../assets/img/订单_订单列表.png" alt="" />
          </div>
          <div>订单</div>
        </li>
        <li id="mine">
          <div>
            <img src="../assets/img/3.1我的.png" alt="" />
          </div>
          <div>我的</div>
        </li>
      </ul>
    </div>
  </div>
</template>
<script>
export default {};
</script>
<style scoped>
.header img {
  width: 99.9%;
  position: fixed;
  top: 0;
  left: 0;
}
.location {
  transform: translateX(-3%);
  width: 100%;
  display: flex;
  justify-content: space-around;
  position: fixed;
  top: 40px;
}
.location img {
  width: 20px;
  height: 20px;
  transform: translateY(14%);
}
.input {
  width: 90%;
  height: 20px;
  border-radius: 10px;
  margin-top: 20px;
  background-color: rgb(241, 241, 241);
  padding-left: 10px;
}
.content {
  width: 96%;
  /* background-color: red; */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.item {
  width: 50px;
  font-size: 12px;
  line-height: 20px;
  margin-top: 10px;
}
.left-f {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(49, 132, 227);
}
.left-t {
  width: 35px;
  height: 35px;
  background-color: rgb(25, 64, 219);
  transform: rotate(45deg);
  margin-left: 10px;
}
.left-f img {
  width: 45px;
}
.footer {
  width: 100%;
  height: 50px;
  padding-top: 8px;
  border: 0.5px solid rgb(218, 213, 213);
  background-color: rgb(245, 245, 245);
  position: fixed;
  left: 0;
  bottom: 0;
}
.footer ul {
  font-size: 12px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer ul li img {
  width: 20px;
  height: 20px;
}
</style>

